- channelConversion
bool channelConversion(ubyte[] data, ubyte from, ubyte to)
Channel conversion is a very simple implementation, so, I won't use delegates for it.
- decode
bool decode(ubyte[] data, HipAudioEncoding encoding, HipAudioType type, void delegate(in ubyte[] data) onSuccess, void delegate() onFailure)
Undocumented in source.
- dispose
void dispose()
Undocumented in source.
- getAudioConfig
AudioConfig getAudioConfig()
Undocumented in source.
- getClipChannels
ubyte getClipChannels()
Undocumented in source.
- getClipData
ubyte[] getClipData()
Undocumented in source.
- getClipSize
size_t getClipSize()
Undocumented in source.
- getDuration
float getDuration()
Don't apply to streamed audio. Gets the duration in seconds
- getSamplerate
uint getSamplerate()
Undocumented in source.
- loadData
bool loadData(ubyte[] data, HipAudioEncoding encoding, HipAudioType type, HipAudioClipHint hint, void delegate(in ubyte[] data) onSuccess, void delegate() onFailure)
Receives the raw data. Deals with the data based on clip hint.
- resample
bool resample(ubyte[] data, HipAudioType type, uint outputSampleRate, uint outputChannels, void delegate(in ubyte[] data) onSuccess, void delegate() onFailure)
Undocumented in source.
- startDecoding
uint startDecoding(ubyte[] data, ubyte[] outputDecodedData, uint chunkSize, HipAudioEncoding encoding)
- updateDecoding
uint updateDecoding(ubyte[] outputDecodedData)
Undocumented in source.